package com.hly.musicbackground.Enum;

import lombok.Getter;

@Getter
public enum UserLogEnum {
    // 书籍相关
    GET_FICTION_DETAIL("get_fiction_detail", "获取小说详情"),
    READ_FICTION_CHAPTER("read_fiction_chapter", "阅读小说章节"),
    BOOKSHELF_INSPECT("bookshelf_inspect", "检查书架更新"),

    // 系统相关
    OPEN_APP("open_app", "打开APP"),
    CLOSE_APP("close_app", "关闭APP"),
    LOGIN("login", "登录"),
    REGISTER("register", "注册"),
    SEARCH_KEY("SEARCH_KEY", "搜索"),

    //用户相关
    UPDATE_USER_INFO("update_user_info", "修改用户基本信息"),
    UPDATE_PASSWORD("update_password", "修改密码"),
    FIND_PASSWORD("find_password", "找回密码"),

    // 音乐相关
    PLAY_MP3("play_mp3", "播放MP3"),
    PLAY_MP4("play_mp4", "播放MP4"),

    // 管理员相关
    SET_ROOT("set_root", "修改权限"),
    ENABLE_USER("enable_user", "启用用户"),
    DISABLE_USER("disable_user", "禁用用户"),
    ENABLE_BANNER("enable_user", "启用banner"),
    DISABLE_BANNER("disable_user", "禁用banner"),
    SAVE_BANNER("save_banner", "新增banner"),
    SET_BANNER("set_banner", "修改banner信息");

    private String value;
    private String str;

    UserLogEnum(String value, String str){
        this.value = value;
        this.str = str;
    }
}
